<h1>Ajouter un type d incident</h1>

	<fieldset>
		<legend> Ajout d'un type d'incident </legend>	
		<% form_for(@type_incident) do |f| %>
			<%= f.error_messages %>

			<table>
				<tr>
					<td>
						<%= f.label :designation %><br />
					</td>
					<td>
						<%= f.text_field :designation %>
					</td>
				</tr>
	
				<tr>
					<td colspan="2">
						<%= f.submit 'Create' %>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<%= link_to 'Back', type_incidents_path %>
					</td>
				</tr>
			</table>
		<% end %>
	</fieldset>

